Rdocumentation
powered by
Learn R Programming
bnstruct (version 1.0)
num.nodes<-: set number of nodes of an object.
Description
Set the number of nodes of an object of type
BN
(number of nodes of the network) or
InferenceEngine
(where parameter contains the number of nodes of the junction tree).
Usage
num.nodes(x) <- value
"num.nodes"(x) <- value
"num.nodes"(x) <- value
Arguments
x
an object.
value
the number of nodes in the object.